import {createRouter, createWebHashHistory, createWebHistory} from 'vue-router'

const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '',
      name: 'home',
      component: () => import("@/views/Home/Home.vue")
    },
    {
      path: '/login',
      name: 'login',
      component: () => import("@/views/Login/Login.vue")
    },
    {
      path: '/set',
      name: 'set',
      component: () => import("@/views/Set/Set.vue"),
      children:[
        {
          path:'search',
          name:'search',
          component: () => import("@/views/Set/Search/Search.vue")
        }
      ]
    },

  ]
})

export default router
